package com.jlcindia.struts2;

import java.util.*;

import com.opensymphony.xwork2.ActionSupport;

public class AddContact extends ActionSupport {
	private String groupName;
	private String contactName;
	private String email;
	private String phone;
	private String status;
	private List<String> groupList;
	public AddContact() {
		System.out.println("con.......2");
		groupList=new ArrayList<String>();
		groupList.add("c12");
		groupList.add("c13");
		groupList.add("c14");
		groupList.add("c15");
		groupList.add("c16");
	}
	public String execute()throws Exception{
		return "success";
	}
	public String getGroupName() {
		return groupName;
	}
	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}
	public String getContactName() {
		return contactName;
	}
	public void setContactName(String contactName) {
		this.contactName = contactName;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public List<String> getGroupList() {
		return groupList;
	}
	public void setGroupList(List<String> groupList) {
		this.groupList = groupList;
	}
	
	

}
